import axios from "../../utils/request"
export default {
    namespaced:true,
    state: {
    },
    mutations: {
    },
    actions: {
        getSign({commit},payload){
            return new Promise(async(resolve,reject)=>{
                const data=await axios.post('/signIn',payload)
                console.log(data)
                if(data.status===200&&data.data.code===200){
                    resolve(data.data.message)
                }else{
                    reject(data.data.message)
                }
            })
        }
    },
}